const express = require('express');
const router = express.Router();

const db = require('../data');

router.get('/hello',(req, res, next) => {
    res.send('Hello World!');
})

module.exports = router;

/*
 // 插入文件示例
        const newFile = {
            file_name: 'example.txt',
            uploader: userId
        };


        / 插入 admin 记录示例
                const newAdminRecord = {
                    var_name: 'admin_setting_1',
                    var_context: 'Admin related value'
                };

// 插入用户示例
const newUser = {
    id: '123',
    user_name: 'John Doe',
    uuid: 'uuid123',
    registDate: '2024-01-01',
    user_group: 'Group A',
    statue: 'Active'
};

// 插入 settings 记录示例
                        const newSettingsRecord = {
                            var_name: 'general_setting_1',
                            var_context: 'General setting value'
                        };
*/